<?xml version="1.0"?>

<!-- Using named collections 22.4+ -->
<clickhouse>
    <storage_configuration>
        <disks>
            <use_s3_storage_class>
                <type>s3</type>
                <endpoint>http://minio1:9001/root/data/</endpoint>
                <access_key_id>minio</access_key_id>
                <secret_access_key>minio123</secret_access_key>
                <s3_storage_class>STANDARD</s3_storage_class>
            </use_s3_storage_class>
        </disks>
        <policies>
            <use_s3_storage_class>
                <volumes>
                    <main>
                        <disk>use_s3_storage_class</disk>
                    </main>
                </volumes>
            </use_s3_storage_class>
        </policies>
    </storage_configuration>
</clickhouse>
